package com.tuanzi.loan.business.repository.statistics;


import com.tuanzi.loan.business.entity.statistics.LoanAdsChannelDetail;

import java.util.List;

/**
 * @author Simon
 * @date 2019/07/29 14:15
 */
public interface LoanAdsChannelDetailRepository {

    void updateAccessToken(String channelCode, String accessToken);

    void insert(LoanAdsChannelDetail loanAdsChannelDetail);

    List<LoanAdsChannelDetail> findAll(Integer adsPlatformType);

    List<LoanAdsChannelDetail> findAllChannel();

    LoanAdsChannelDetail findByChannel(String channelCode);
}
